package com.uchedao.vehicledetection.model;

import com.google.gson.annotations.SerializedName;

/**
 * 浸泡检测
 * 
 * @author "叶晋"
 * 
 */
public class Dip implements Cloneable {
	// public boolean relay_replace;// 继电器盒是否要更换
	// public boolean relay_silt;// 继电器盒内是否有泥沙
	// public boolean cabin_renovate;// 机舱内是否清洁翻新
	// public boolean cigar_lighter_rust;// 点烟器底座是否有锈迹
	// public boolean seat_belt_bottom_steep;// 安全带底部是否有浸泡痕迹
	// public boolean a_pillar_steep;// A柱饰板是否有浸泡痕迹
	// public boolean b_pillar_steep;// B柱饰板是否有浸泡痕迹
	// public boolean c_pillar_steep;// C柱饰板是否有浸泡痕迹
	// public boolean platfond_steep;// 顶棚是否有浸泡痕迹
	// public boolean seat_bottom_silt;// 座椅底部滑轨是否有泥沙
	// public boolean back_seat_bottom_silt;// 后排座椅底部是否有泥沙
	// public boolean audio_steep;// 音响纸盒喇叭是否有水印
	// public boolean odb_steep;// OBD接口是否有水印或泥沙
	// public boolean trunk_steep;// 后备箱是否有浸泡痕迹
	// public boolean trunk_silt;// 后备箱的边角是否有泥沙
	@SerializedName("values")
	public boolean[] values = new boolean[15];

	// public String toString() {
	// String[] names =
	// GlobalInfo.resources.getStringArray(R.array.dip_key_entries);
	// JsonObject json = new JsonObject();
	// for (int i = 0; i < names.length; i++)
	// json.addProperty(names[i], values[i]);
	// return json.toString();
	// }

	@Override
	public Dip clone() {
		Dip dip = null;
		try {
			dip = (Dip) super.clone();
			dip.values = values.clone();
		} catch (CloneNotSupportedException e) {
			e.printStackTrace();
		}
		return dip;
	}
}
